adjust_with_direction() uses a ClutterScrollDirection not ClutterTextDirection
Fixes: 23b439dc ("st/scroll-view: Use ClutterEvent getter methods")
Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6937
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2920>
break;
case CLUTTER_SCROLL_UP:
case CLUTTER_SCROLL_DOWN:
- adjust_with_direction (priv->vadjustment, direction);
+ adjust_with_direction (priv->vadjustment, scroll_direction);
break;
case CLUTTER_SCROLL_LEFT:
case CLUTTER_SCROLL_RIGHT:
}
else
{
- adjust_with_direction (priv->hadjustment, direction);
+ adjust_with_direction (priv->hadjustment, scroll_direction);
}
break;
default: